package com.dream.wuliu.service;

import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;

import com.dream.vo.api.ApiResult;

public interface  OrderService {
	
	 @POST("/api/order/list")
	 @FormUrlEncoded
	 ApiResult list(@Field("customerName") String customerName,@Field("mobile") String mobile);
	 
	 @POST("/api/order/detail")
	 @FormUrlEncoded
	 ApiResult detail(@Field("id") long id);
	 
	 @POST("/api/order/update")
	 @FormUrlEncoded
	 ApiResult update(@Field("gsonOrder") String gsonOrder);
	 
}
